export const ifTabBar = {
  // activated() {
  //   if (this.$route.name == "Music") {
  //     this.$store.commit("ifTabBar", true);
  //   } else {
  //     this.$store.commit("ifTabBar", false);
  //   }
  // },
  created() {
    if (this.$route.name == "Music" || this.$route.name == "New" || this.$route.name == "Poetry" || this.$route.name == "Image") {
      this.$store.commit("ifTabBar", true);
    } else {
      this.$store.commit("ifTabBar", false);
    }
  },
}